package com.simple.datax.flow.service;

import com.simple.datax.flow.dao.ibatis.model.FlowActivityInstance;
import com.simple.datax.flow.dao.ibatis.model.TaskDec;
import com.simple.datax.flow.message.EcFlowMessage;

/** 
 * @Title: TaskMessageService.java 
 * @Package com.simple.datax.flow.service 
 * @Description: TODO(添加描述) 
 * @author tonney 
 * @date 2012-12-31 上午11:12:04 
 * @version V1.0 
 */
public interface TaskMessageManager {
	/**
	 * 插入对象全字段
	 */
	public void saveTaskMessage(FlowActivityInstance activityInstance,EcFlowMessage ecMessage);
	
	/**
	 * 保存报关原始报文
	 * @param taskMessage
	 */
	public void saveTaskDec(TaskDec taskDec);
	
	/**
	 * 根据任务ID获取报关原始报文
	 * @param taskId
	 * @return
	 */
	public  TaskDec getTaskDecByTaskid(String taskId);
	
}
